# $OpenBSD: Makefile,v 1.2 2017/06/12 10:57:57 ajacoutot Exp $

COMMENT =		fixed width fonts especially for long hacking sessions

DISTNAME =		ProFont-2.2
CATEGORIES =		fonts x11
REVISION =		0

HOMEPAGE =		http://www.fontsquirrel.com/fonts/ProFontWindows

MAINTAINER =		Andrew Fresh <afresh1@openbsd.org>

# redistribute unmodified copies with included license
PERMIT_PACKAGE_CDROM =		Yes

# Upstream keeps re-rolling the distfile without bumping the version
MASTER_SITES =		https://distfiles.nl/ \
			http://www.fontsquirrel.com/fonts/download/ProFontWindows/
EXTRACT_SUFX =		.zip

NO_BUILD=		Yes
NO_TEST =		Yes

FONTDIR =		${PREFIX}/share/fonts/profont

do-install:
	${INSTALL_DATA_DIR} ${FONTDIR}
	${INSTALL_DATA} ${WRKDIR}/*.ttf ${FONTDIR}
	${INSTALL_DATA} ${WRKDIR}/ProFont\ Redistribution\ Terms.txt \
		${FONTDIR}/ProFont_Redistribution_Terms.txt

.include <bsd.port.mk>
